import unittest

# loader
# param1: 加载模块的路径
# param2: 加载模块名的规则
# return: suite
discover = unittest.defaultTestLoader.discover('./test_cases', pattern='*demo*')

# suite

# runner
runner = unittest.TextTestRunner(verbosity=2)
runner.run(discover)


